<%--@elvariable id="flat" type="com.flats.model.entity.Flat"--%>
<%--@elvariable id="commantsDate" type="java.util.Map<java.lang.Long,java.lang.String>"--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:forEach var="comment" items="${flat.comments}">
    <li>
        <div class="name pull-left">
            ${comment.user.name}
        </div >
        <div class="c_date">
            ${commantsDate[comment.id]}
        </div>
        <div class="message">
            ${comment.text}
        </div>
    </li>
</c:forEach>